<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%--
  Created by IntelliJ IDEA.
  User: lxf
  Date: 2016/10/12
  Time: 11:36
  To change this template use File | Settings | File Templates.
--%>
<html>
<head>
    <title>Ajax File Upload Demo</title>
    <link rel="stylesheet" type="text/css" href="/static/ajaxFileUpload/ajaxFileUpload.css"/>
    <script src="/static/ajaxFileUpload/ajaxFileUpload.js"></script>
    <script src="/static/ajaxFileUpload/myAjaxFileUpload.js"></script>
</head>
<body>
<div>
    <input type="hidden" id="uploadImageUrl"/>
    <input type="hidden" id="uploadImagePath"/>
    <a href="javascript:" class="a-upload" id="ajaxUpload"></a>
</div>
<myScript>
    <script>
        $(function () {
            ajaxFileUpload({
                id: '#ajaxUpload',
                totalNumber: 1
            });
        })
    </script>
</myScript>
</body>
</html>
